package io.github.lee.plugin.depend.impl

import io.github.lee.plugin.depend.Versions
import io.github.lee.plugin.depend.handler.IHandlerDepend
import io.github.lee.plugin.depend.handler.implementation
import org.gradle.api.artifacts.dsl.DependencyHandler

object Navigation : IHandlerDepend {
    private const val navigationFragmentKtx = "androidx.navigation:navigation-fragment-ktx:${Versions.navigation}"
    private const val navigationUiKtx = "androidx.navigation:navigation-ui-ktx:${Versions.navigation}"


    override fun handler(handler: DependencyHandler) {
        handler.implementation(navigationFragmentKtx)
        handler.implementation(navigationUiKtx)
    }

}